<!DOCTYPE html>
<html lang="en">
<head>
  {{template "pc/public/mycss.html" .}}
</head>
<style type="text/css">
  #wrapper{
    background: #f5f5f5!important;
  }
  .header-center{
    background: #fff;
  }
  .user_left{
    background: #fff;
  }
  .fenlei{
    width: 20%;
  }
  
  @media (max-width: 992px){
    .fenlei{
        width: 100%;
    }
  }
</style>
<body class="common-home res layout-home1">
<div id="wrapper" class="wrapper-full banners-effect-7">
  <!-- Header Container  -->
  {{template "pc/public/head.html" .}}
  {{template "pc/public/mytop.html" .}}
  <div class="main-container container">
    <div class="row mb-50">
      <!--Left Part Start -->
      {{template "pc/public/myleft.html" .}}
      <!--Middle Part Start-->
      <div id="content" class="col-md-10 col-sm-8 right mt-15">
        <div class="user_right">
          <div class="pDEva">
            {{if .info}}
            {{range .info}}
            <div>
              <dl>
                <dt>
                  <p> {{if .content}}{{.content}}{{else}}评价方未及时做出评价{{end}}</p>
                  <p>
                    {{range .imgs}}
                    <span style="background-image:url({{.pathname}})"></span>
                    {{end}}
                  </p>
                </dt>
                <dd>
                  <p style="line-height: 30px;text-align: left;height: 30px;overflow:hidden"><span style="float: left;">评分：</span><img style="float: left;" src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/img/prd/{{.score}}x.png"></p>
                  <p>数量：<span>{{.num}}</span></p>
                </dd>
                <dd><a href="/product/content?id={{.pid}}"><img src="{{.ppath}}"><span>{{.title}}</span></a></dd>
              </dl>
              <p>{{.addtime}}</p>
            </div>
            {{end}}
            {{else}}

            <!-- 默认图 -->
            {{end}}
            {{if .paginator}}
            {{if ne .paginator.totalpages 1}}
            <div class="pageView">
              <b class="btn">
                {{if ne .paginator.currpage 1}}
                <a href="{{$.url}}page={{.paginator.prevpage}}"><b>&lt;&lt;上一页</b></a>
                {{else}}
                <b>&lt;&lt;上一页</b>
                {{end}}
                {{range $index,$page := .paginator.pages}}
                {{if eq $.paginator.currpage $page}} 
                <b>{{$page}}</b>
                {{else}}
                <a href="{{$.url}}page={{$page}}"><b>{{$page}}</b></a>
                {{end}}
                {{end}}
                <!-- <b class="more">...</b> -->
                {{if eq .paginator.currpage .paginator.totalpages}}
                <b>下一页&gt;&gt;</b>
                {{else}}
                <a href="{{$.url}}page={{.paginator.nextpage}}"><b>下一页&gt;&gt;</b></a>
                {{end}}
              </b>
              <b class="other">
                共{{.paginator.totalpages}}页，到第<input type="text" name="p">页<button id="go">确定</button>
              </b>
            </div>
            {{end}}
            {{end}}
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

{{template "pc/public/foot.html" .}}
{{template "pc/public/myfoot.html" .}}
</body>
</html>
<script type="text/javascript">
  $('#go').click(function(){
    var totalpages={{.paginator.totalpages}};
    var num=$('input[name="p"]').val()
    if(num<=totalpages){
      window.location.href={{.url}}+`page=`+num
    }
  })
  var $typeheader = 'header-home1';

  $('.order ul li').click(function() {
    $(this).addClass('on');
    $(this).siblings('li').removeClass('on');
  });
</script>